<script lang="ts" setup>
import enUS from '@arco-design/web-vue/es/locale/lang/en-us'
import zhCN from '@arco-design/web-vue/es/locale/lang/zh-cn'
import { useLocale } from './composables/useLocale'

const { locale } = useLocale()
</script>

<template>
  <a-config-provider :locale="locale === 'zh-CN' ? zhCN : enUS">
    <RouterView />
  </a-config-provider>
</template>
